package hibernate.billStream;
import java.util.Set;

public class ServiceCategory {
	
	private String name;
	private boolean isDefault;
	private Set servicesIncluded;
	private String note;
	private Long id;
	
	public void setName(String name){
		this.name=name;
	}
	
	public String getName(){
		return name;
	}
	
	public void setIsDefault(boolean ifIsDefault){
		isDefault=ifIsDefault;
	}
	
	public boolean getIsDefault(){
		return isDefault;
	}
	
	public void setServicesIncluded(Set service){
		servicesIncluded=service;
	}
	
	public Set getServicesIncluded(){
		return servicesIncluded;
	}
	
	public void setNote(String note){
		this.note=note;
	}
	
	public String getNote(){
		return note;
	}
	
	public void setId(Long id){
		this.id=id;
	}
	
	public Long getId(){
		return id;
	}
	
	public boolean equals(Object obj){
		if(!(obj instanceof ServiceCategory))
			return false;
		else return ((ServiceCategory)obj).id.equals(id);
	}
	
	public String toString(){
		return this.name;
	}
}
